import { useEffect, useState } from 'react'
import { CountDown } from 'react-vant';

function App() {

  let [num,setNum]=useState(10)
  const kk=()=>{
    setNum(num+1)
  }
  useEffect(()=>{

  },[])
  return (
    <>
      <div>
        {num}
        <button onClick={kk}>点我</button>
        <CountDown time={1 * 60 * 60 * 1000} />
      </div>
     
      <div className="card">
       
      </div>
      
    </>
  )
}

export default App
